package com.e3.purchase.model;

import java.util.List;

import com.e3.basdoc.corp.model.CorpModel;
import com.e3.basdoc.cust.model.CustModel;
import com.e3.basdoc.dept.model.DeptModel;
import com.e3.bill.model.BillMainModel;

public class POMainModel extends BillMainModel implements POMainFields{

	private static final long serialVersionUID = 7497099066074677155L;
	
	private String billNo;
	
	private Long purchaseCorpId;
	
	private CorpModel purchaseCorp;
	
	private Long purchaseDeptId;
	
	private DeptModel purchaseDept;
	
	private Long purchaserId;
	
	private Long supplierId;
	
	private CustModel supplier;
	
	private Long receiverCorpId;
	
	private CorpModel receiverCorp;
	
	private String invoiceClient;
	
	private Long paymentProtocalId;
	
	private String remark;
	
	private List<PODetailModel> detailModels;

	public String getBillNo() {
		return billNo;
	}

	public void setBillNo(String billNo) {
		this.billNo = billNo;
	}

	public Long getPurchaseCorpId() {
		return purchaseCorpId;
	}

	public void setPurchaseCorpId(Long purchaseCorpId) {
		this.purchaseCorpId = purchaseCorpId;
	}

	public Long getPurchaseDeptId() {
		return purchaseDeptId;
	}

	public void setPurchaseDeptId(Long purchaseDeptId) {
		this.purchaseDeptId = purchaseDeptId;
	}

	public Long getPurchaserId() {
		return purchaserId;
	}

	public void setPurchaserId(Long purchaserId) {
		this.purchaserId = purchaserId;
	}

	public Long getSupplierId() {
		return supplierId;
	}

	public void setSupplierId(Long supplierId) {
		this.supplierId = supplierId;
	}

	public Long getReceiverCorpId() {
		return receiverCorpId;
	}

	public void setReceiverCorpId(Long receiverCorpId) {
		this.receiverCorpId = receiverCorpId;
	}

	public CorpModel getPurchaseCorp() {
		return purchaseCorp;
	}

	public void setPurchaseCorp(CorpModel purchaseCorp) {
		this.purchaseCorp = purchaseCorp;
	}

	public DeptModel getPurchaseDept() {
		return purchaseDept;
	}

	public void setPurchaseDept(DeptModel purchaseDept) {
		this.purchaseDept = purchaseDept;
	}

	public CustModel getSupplier() {
		return supplier;
	}

	public void setSupplier(CustModel supplier) {
		this.supplier = supplier;
	}

	public CorpModel getReceiverCorp() {
		return receiverCorp;
	}

	public void setReceiverCorp(CorpModel receiverCorp) {
		this.receiverCorp = receiverCorp;
	}

	public String getInvoiceClient() {
		return invoiceClient;
	}

	public void setInvoiceClient(String invoiceClient) {
		this.invoiceClient = invoiceClient;
	}

	public Long getPaymentProtocalId() {
		return paymentProtocalId;
	}

	public void setPaymentProtocalId(Long paymentProtocalId) {
		this.paymentProtocalId = paymentProtocalId;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public List<PODetailModel> getDetailModels() {
		return detailModels;
	}

	public void setDetailModels(List<PODetailModel> detailModels) {
		this.detailModels = detailModels;
	}
	
}
